package com.oo.polymorphic_4.computer;

/**
 * PDA--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 16:54
 **/
public class PDA extends NoteBook {

    private String touch;

    public PDA() {
    }

    public PDA(String name, String brand, String type, String monitor, String battery, String touch) {
        super(name, brand, type, monitor, battery);
        this.touch = touch;
    }

    @Override
    public void info() {
        System.out.println("详细清单（PDA）：\n名称："
                +this.getName()+"\n品牌："
                +this.getBrand()+"\n处理器类型："
                +this.getType()+"\n显示器："+
        this.getMonitor()+"\n电池类型："+
        this.getBattery()+"\n触摸屏类型："
        +this.getTouch());
    }

    public String getTouch() {
        return touch;
    }

    public void setTouch(String touch) {
        this.touch = touch;
    }
}
